package com.forum.service.Impl;

import com.forum.dao.EvaluateDaoMapper;
import com.forum.pojo.Evaluate;
import com.forum.service.EvaluateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("EvaluateService")
public class EvaluateImpl implements EvaluateService {
    @Autowired private EvaluateDaoMapper evaluateDaoMapper;

    @Override
    public int saveEvaluate(Evaluate evaluate) {
        return evaluateDaoMapper.saveEvaluate(evaluate);
    }
}
